#/bin/bash

./test.py
cp energy.txt powertossimz-November-3-2010/postprocessZ/
cd powertossimz-November-3-2010/postprocessZ/
python postprocessZ.py --powercurses energy.txt > EnergyPowerCurses.txt
#cat EnergyPowerCurses.txt | grep "Mote 0, cpu total:"
#cat EnergyPowerCurses.txt | grep "Mote 0, radio total:"
cat EnergyPowerCurses.txt | grep "Real seconds: "


